<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('user_detail', function (Blueprint $table) {
            $table->string('general_photo')->comment('全身照')->default('');
            $table->string('life_photo')->comment('生活照')->default('');
            $table->string('work_photo')->comment('工作照')->default('');
            $table->string('study_photo')->comment('学习照')->default('');
            $table->string('travel_photo')->comment('旅行照')->default('');
            $table->string('other_photo')->comment('其他照')->default('');

            $table->string('sex')->comment('性别')->default('');
            $table->string('birthday')->comment('生日')->default('');
            $table->string('constellation')->comment('星座')->default('');
            $table->string('height')->comment('身高')->default('');

            $table->string('weixin')->comment('微信')->default('');
            $table->string('qq')->comment('QQ')->default('');
            $table->string('email')->comment('邮箱')->default('');

            $table->string('city')->comment('城市')->default('');
            $table->string('hometown')->comment('家乡')->default('');

            $table->string('education')->comment('学历')->default('');
            $table->string('college')->comment('学院')->default('');
            $table->string('college_tab')->comment('学院标签')->default('');

            $table->string('income')->comment('年收入')->default('');
            $table->string('marriage')->comment('婚姻情况')->default('');
            $table->string('car_and_house')->comment('车房情况')->default('');
            $table->string('family')->comment('家庭情况')->default('');
            $table->string('account')->comment('户口')->default('');
            $table->string('industry')->comment('行业')->default('');

            $table->string('hobbies')->comment('兴趣爱好')->default('');
            $table->string('character')->comment('性格特点')->default('');
            $table->string('emotional_experience')->comment('情感经历')->default('');
            $table->string('emotional_view')->comment('情感观')->default('');
            $table->string('mate_selection')->comment('择偶要求')->default('');
            $table->string('other')->comment('其他')->default('');
            $table->string('keyword')->comment('关键词')->default('');

            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
};
